.class Lcom/estrongs/android/view/y$g;
.super Landroid/os/Handler;
.source "FileTransferGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/y;->o0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/y;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/y;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    .line 1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 2
    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_3

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->a(Lcom/estrongs/android/view/y;)Ljava/util/Map;

    move-result-object v0

    const/16 v1, 0x8

    if-eqz v0, :cond_2

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->a(Lcom/estrongs/android/view/y;)Ljava/util/Map;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z

    move-result v0

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->b(Lcom/estrongs/android/view/y;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    .line 6
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->i(Lcom/estrongs/android/view/y;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->j(Lcom/estrongs/android/view/y;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 8
    :goto_0
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz p1, :cond_1

    .line 9
    check-cast p1, Ljava/util/Map;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->k(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferAdapter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferAdapter;->a(Ljava/util/Map;)V

    .line 11
    :cond_1
    new-instance p1, Landroid/util/SparseBooleanArray;

    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->a(Lcom/estrongs/android/view/y;)Ljava/util/Map;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v0

    invoke-direct {p1, v0}, Landroid/util/SparseBooleanArray;-><init>(I)V

    const/4 v0, 0x1

    .line 12
    invoke-virtual {p1, v2, v0}, Landroid/util/SparseBooleanArray;->put(IZ)V

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->l(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferHistoryAdapter;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v2}, Lcom/estrongs/android/view/y;->a(Lcom/estrongs/android/view/y;)Ljava/util/Map;

    move-result-object v2

    invoke-virtual {v0, v2, p1}, Lcom/estrongs/android/pop/app/analysis/adapters/ExpandableAdapter;->a(Ljava/util/Map;Landroid/util/SparseBooleanArray;)V

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {p1}, Lcom/estrongs/android/view/y;->k(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferAdapter;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    .line 15
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {p1}, Lcom/estrongs/android/view/y;->m(Lcom/estrongs/android/view/y;)Landroid/widget/LinearLayout;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_1

    :cond_3
    const/4 p1, 0x3

    if-ne v0, p1, :cond_4

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {p1}, Lcom/estrongs/android/view/y;->n(Lcom/estrongs/android/view/y;)Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_4

    iget-object p1, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {p1}, Lcom/estrongs/android/view/y;->o(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyAdapter;

    move-result-object p1

    if-eqz p1, :cond_4

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {p1}, Lcom/estrongs/android/view/y;->o(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyAdapter;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/view/y$g;->a:Lcom/estrongs/android/view/y;

    invoke-static {v0}, Lcom/estrongs/android/view/y;->n(Lcom/estrongs/android/view/y;)Ljava/util/List;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyAdapter;->a(Ljava/util/List;)V

    :cond_4
    :goto_1
    return-void
.end method
